package com.bank.backend.boot.server.converter;


import com.bank.backend.boot.base.model.dto.BankBranchDTO;
import com.bank.backend.boot.base.model.entity.BankBranch;
import com.bank.backend.boot.server.annotation.MappingIgnore;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author jiaowei
 * @since 2025/3/25 17:00
 */
@Mapper(componentModel = "spring")
public interface BankBranchConverter {
    BankBranchConverter INSTANCE = Mappers.getMapper(BankBranchConverter.class);

    @MappingIgnore
    BankBranch convert(BankBranchDTO bankBranchDTO);
}
